package com.example.b_308.myapplication.model.base;

/**
 * Created by B-308 on 2017/11/14.
 */
public class BaseUser extends BaseModel{


    String id;
    String name;//账号
    String password;//密码
    String verifyPassword;//确认密码
    String employeeName;//员工姓名
    String phone;//手机号
    String department;//部门
    String title;//职位
    String company_id;
    String department_id;
    String category;
    String status;
    String create_time;
    String token;


    public String getId() {
        if (null == id)
            id = getStr("id");
        return id;
    }

    public String getName() {
        if (null == name)
            name = getStr("name");
        return name;
    }

    public String getPassword() {
        if (null == password)
            password = getStr("password");
        return password;
    }

    public String getVerifyPassword() {
        if (null == verifyPassword)
            verifyPassword = getStr("verifyPassword");
        return verifyPassword;
    }

    public String getEmployeeName() {
        if (null == employeeName)
            employeeName = getStr("employeeName");
        return employeeName;
    }

    public String getPhone() {
        if (null == phone)
            phone = getStr("phone");
        return phone;
    }

    public String getDepartment() {
        if (null == department)
            department = getStr("department");
        return department;
    }

    public String getTitle() {
        if (null == title)
            title = getStr("title");
        return title;
    }

    public String getCompany_id() {
        if (null == company_id)
            company_id = getStr("company_id");
        return company_id;
    }

    public String getDepartment_id() {
        if (null == department_id)
            department_id = getStr("department_id");
        return department_id;
    }

    public String getCategory() {
        if (null == category)
            category = getStr("category");
        return category;
    }

    public String getStatus() {
        if (null == status)
            status = getStr("status");
        return status;
    }

    public String getCreate_time() {
        if (null == create_time)
            create_time = getStr("create_time");
        return create_time;
    }

    public void setId(String id) {
        put("id", id);
        this.id = id;
    }

    public void setName(String name) {
        put("name", name);
        this.name = name;
    }

    public void setPassword(String password) {
        put("password", password);
        this.password = password;
    }

    public void setVerifyPassword(String verifyPassword) {
        put("verifyPassword", verifyPassword);
        this.verifyPassword = verifyPassword;
    }

    public void setEmployeeName(String employeeName) {
        put("employeeName", employeeName);
        this.employeeName = employeeName;
    }

    public void setPhone(String phone) {
        put("phone", phone);
        this.phone = phone;
    }

    public void setDepartment(String department) {
        put("department", department);
        this.department = department;
    }

    public void setTitle(String title) {
        put("title", title);
        this.title = title;
    }

    public void setCompany_id(String company_id) {
        put("company_id", company_id);
        this.company_id = company_id;
    }

    public void setDepartment_id(String department_id) {
        put("department_id", department_id);
        this.department_id = department_id;
    }

    public void setCategory(String category) {
        put("category", category);
        this.category = category;
    }

    public void setStatus(String status) {
        put("status", status);
        this.status = status;
    }

    public void setCreate_time(String create_time) {
        put("create_time", create_time);
        this.create_time = create_time;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }


}
